package com.czk.pojo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.ToString;

import java.util.Map;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/2 15:08
 */
@ToString
@XStreamAlias("xml")
public class ImageMessage extends BaseMessage {
    @XStreamAlias("MediaId")
    private String mediaId;
    public ImageMessage(Map<String, String> map,String mediaId) {
        super(map);
        this.setMsgType("image");
        this.mediaId=mediaId;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }
}
